package com.example.gw2eventtracker.rest;

import java.io.IOException;

import javax.ws.rs.client.ClientRequestContext;
import javax.ws.rs.client.ClientRequestFilter;
import javax.ws.rs.core.MediaType;

public class JsonMediaRequestFilter implements ClientRequestFilter {

	public void filter(ClientRequestContext requestContext) throws IOException {
		requestContext.getHeaders().putSingle("Content-Type",
				MediaType.APPLICATION_JSON);
	}

}
